# -*- coding: utf-8 -*-

# Scrapy settings for jdmz project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
#     http://doc.scrapy.org/en/latest/topics/settings.html
#

BOT_NAME = 'jdmz'

SPIDER_MODULES = ['jdmz.spiders']
NEWSPIDER_MODULE = 'jdmz.spiders'

ITEM_PIPELINES = [
    'jdmz.pipelines.JdmzDBPipeline',
    'jdmz.pipelines.DuplicatesPipeline',
]

# Crawl responsibly by identifying yourself (and your website) on the user-agent
#USER_AGENT = 'jdmz (+http://www.yourdomain.com)'

## mongodb
MONGODB_SERVER = 'localhost'
MONGODB_PORT = 12345
MONGODB_DB = 'jdmz'
MONGODB_COLLECTION = 'meizi'
